package cn.kgc.maoqichao.microservicecloudproviderdept8001.service;

import cn.kgc.maoqichao.microservicecloudproviderdept8001.pojo.Category;
import cn.kgc.maoqichao.microservicecloudproviderdept8001.pojo.Workorder;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface WorkorderService {
    //数据列表
    List<Workorder> getAll(List<Integer> workIdList);
    //分页显示
    PageInfo<Workorder> queryWorkAll(Integer pageNum, Integer pageSize, String keyword);
    //添加
    void saveWork(Workorder workorder);
    //修改
    void updateWork(Workorder workorder);
    //删除
    void deleteWork(List<Integer> workIdList);
}
